package com.xiaokai.config;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.web.servlet.config.annotation.InterceptorRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * Author:yang
 * Date:2024-12-19 13:37
 * Description:全局MVC配置
 */
//@Component
//public class GlobalMVCConfigurer implements WebMvcConfigurer {
//
//    @Autowired
//    private SignatureInterceptor signatureInterceptor;
//
//    // 注册拦截器
//    @Override
//    public void addInterceptors(InterceptorRegistry registry) {
//        registry.addInterceptor(signatureInterceptor).addPathPatterns("/**");
//    }
//
//}
